print(' '.join(list(raw_input().split())[::-1]))